package com.zwjstudy.cachestudy.springcache.caffeine.service;

import com.zwjstudy.cachestudy.springcache.caffeine.entity.User;
import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * ClassName: UserService
 * Package: com.zwjstudy.cachestudy.springcache.caffeine.service
 * Description:
 *
 * @Author: 张文俊
 * @Create: 2025-09-20 - 9:43
 * @Version: v1.0
 */
public interface UserService {

    public User save(User user);

    public User update(User user);

    public void deleteById(Long id);

    public void deleteAll();

    public User getById(Long id);

}
